<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8" />
  <meta name="viewport"
    content="width=device-width, initial-scale=1.0,maximum-scale=1,minimum-scale=1,user-scalable=no" />
  <title>03-点名系统.html</title>
  <style>
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      padding: 20px;
    }

    h1 {
      padding: 10px;
      background-color: #9acd32;
      color: purple;
      margin: 10px 0;
    }

    button {
      width: 100px;
      height: 50px;
      border-radius: 25px;
      background-color: #9acd32;
      color: #fff;
      border: none;
      font-size: 20px;
    }

    ul {
      list-style: none;
      display: flex;
      flex-wrap: wrap;
    }

    li {
      width: 100px;
      height: 40px;
      background-color: #000;
      color: #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 10px;
    }

    /* 在随机抽取的过程中被选中的 */
    .active {
      background-color: #9acd32;
      color: #fff;
    }

    /* 确定下来了 最终被选中 */
    .select {
      background-color: palevioletred;
      color: #fff;
    }
  </style>
</head>

<body>
  <h1>被选中的小伙伴们:</h1>
  <button>开始</button>
  <ul>
    <li class="">张三</li>
    <li class="active">李四</li>
    <li class="select">王五</li>
  </ul>
  <script></script>
</body>

</html>